package com.sharepics.bean;

import java.io.Serializable;


import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;


@XmlRootElement(name="album")
public class XMLAlbum implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -8033544764651777196L;
	

    private Long id;
    private String name;

    public XMLAlbum() {
    }

    @Override
    public String toString() {
        return this.id + " " + this.name;
    }
    @XmlElement
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	@XmlElement
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

    
    




	
    
    
}
